package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.model.Entity;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by God on 2016/8/8.
 */
public class TradeRecoder extends Entity {
    /**
     * 活动结算收入
     */
    public final static int TYPE_CAMPAIGN_INCOME = 1;
    /**
     * 邀请用户注册奖励
     */
    public final static int TYPE_INVITE_USRE_AWARD = 2;
    /**
     * 提现返回
     */
    public final static int TYPE_WITHDRAW_RETURN = 3;
    /**
     * 提现扣款
     */
    public final static int TYPE_WITHDRAW = 4;
    /**
     * 亲测奖金
     */
    public final static int TYPE_CAMPAIGN_ACTIVE = 5;
    /**
     * 亲测活动转化奖励
     */
    public final static int TYPE_CAMPAIGN_CONVERSION = 6;

    public static Map<String, String> TYPE_MAP = new HashMap() {
        {
            put(TYPE_CAMPAIGN_INCOME, "活动结算收入");
            put(TYPE_INVITE_USRE_AWARD, "邀请用户注册奖励");
            put(TYPE_WITHDRAW_RETURN, "提现返回");
            put(TYPE_WITHDRAW, "提现扣款");
            put(TYPE_CAMPAIGN_ACTIVE, "活动结算收入");
            put(TYPE_CAMPAIGN_CONVERSION, "活动结算收入");
        }
    };


    private String createtime;
    private double amount;
    private int type;


    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCreatetime() {

        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
}
